//
//  CustomViewController.h
//  IPTV
//
//  Created by liao Echo on 13-12-29.
//  Copyright (c) 2013年 Echo. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "MyUIViewController.h"
#import "MyDraggableImage.h"
#import "IDGenerator.h"

//自定义

@protocol CustomViewDelegate <NSObject>
@optional
-(void)editEd;
@end

#define  bg_tag_save 10000

@interface CustomViewController : MyUIViewController<MyDraggableImageDelegate>{
    NSMutableArray *array;
    GoodBtn *btnBg;
    GoodBtn *right;
    UIView *bg;
    DeviceInfo *deviceInfo;
    BOOL add;
    BOOL iseditEd;//是否编辑过
    __unsafe_unretained id delegate;
    int selDeveceIndex;
}
@property (nonatomic, assign) id delegate;
@property (nonatomic, assign) int selDeveceIndex;
@end
